package com.tro.mail.service.impl;

import java.math.BigDecimal;
import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;

import com.tro.mail.dao.entity.MailPabTable;
import com.tro.mail.dao.entity.MailPabTableExample;
import com.tro.mail.service.MailPabTableManager;

public class MailPabTableManagerImp implements MailPabTableManager{
	@Autowired
	MailPabTableManager mapper;
	
	@Override
	public int countByExample(MailPabTableExample example) {
		
		return mapper.countByExample(example);
	}

	@Override
	public int deleteByExample(MailPabTableExample example) {
		// TODO Auto-generated method stub
		return mapper.deleteByExample(example);
	}

	@Override
	public int deleteByPrimaryKey(BigDecimal id) {
		// TODO Auto-generated method stub
		return mapper.deleteByPrimaryKey(id);
	}

	@Override
	public int insert(MailPabTable record) {
		// TODO Auto-generated method stub
		return mapper.insert(record);
	}

	@Override
	public int insertSelective(MailPabTable record) {
		// TODO Auto-generated method stub
		return mapper.insertSelective(record);
	}

	@Override
	public List<MailPabTable> selectByExample(MailPabTableExample example) {
		// TODO Auto-generated method stub
		return mapper.selectByExample(example);
	}

	@Override
	public MailPabTable selectByPrimaryKey(BigDecimal id) {
		// TODO Auto-generated method stub
		return mapper.selectByPrimaryKey(id);
	}

	@Override
	public int updateByExampleSelective(MailPabTable record,
			MailPabTableExample example) {
		// TODO Auto-generated method stub
		return mapper.updateByExampleSelective(record, example);
	}

	@Override
	public int updateByExample(MailPabTable record, MailPabTableExample example) {
		// TODO Auto-generated method stub
		return mapper.updateByExample(record, example);
	}

	@Override
	public int updateByPrimaryKeySelective(MailPabTable record) {
		// TODO Auto-generated method stub
		return mapper.updateByPrimaryKeySelective(record);
	}

	@Override
	public int updateByPrimaryKey(MailPabTable record) {
		// TODO Auto-generated method stub
		return mapper.updateByPrimaryKey(record);
	}

}
